package com.wen.common.dto;


import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 数据传输对象
 */
@Data
public class LoginDTO {

    @NotBlank(message = "用户名不能为空")
    private String username;
    @NotBlank(message = "密码不能为空")
    private String password;
    @NotBlank(message = "邮箱不能为空")
    private String email;
}
